import javax.swing.ImageIcon;

public class Main {

	private static GameEngine ge;
	
	public static void main(String[] args) {
		
		ge = new GameEngine();
		
					ge.addTile(0, 10, "1");
				
				
				
				ge.addTile(0, 10, "2");
			
			
			
				ge.addTile(0, 10, "3");
			
					ge.addRule(ge.getTileList().get(2), new MoveRule(ge, 3));
			
			
				ge.addTile(0, 10, "4");
			
			
			
				ge.addTile(0, 10, "5");
			
			
			
				ge.addTile(0, 10, "6");
			
			
			
				ge.addTile(0, 10, "7");
			
					ge.addRule(ge.getTileList().get(6), new MoveRule(ge, -5));
			
			
				ge.addTile(0, 10, "8");
			
			
			
				ge.addTile(0, 10, "9");
			
			
					ge.addRule(ge.getTileList().get(8), new EndRule(ge));
			
	
			ge.setSides(3);
			
					ge.setLuckyNumber(3);
					ge.setLuckyLimit(3);

			ge.addPlayer("red", new ImageIcon("src/blue.png"));
			ge.addPlayer("blue", new ImageIcon("src/blue.png"));

		ge.gameReady();
		
		new GUI(ge);
	}
}
